<?php $this->load->view(TEMPLATE_NAME.'/admin/header');?>
<?php $this->load->view(TEMPLATE_NAME.'/admin/side_left');?>

<script type="text/javascript" src="<?php echo base_url()?>js/jquery-1.4.2.js"></script>

<div class="page noright adminpage adminuser">
<h2>Swearwords</h2>
<?php echo form_open('admin/swearwords/index'); ?>
<?php echo form_input('the_word',$the_word)?><br/>
<?php echo form_hidden('id_word',$id_word)?><br/>

<?php
 
	$form_button = array(
	  'type'=>'submit',
	  'name'=>'submit',
	  'value'=>'submit',
	  'content'=>'Submit',
	);
	echo form_button($form_button) ?>
<?php echo form_close();?>
<hr/>
<?php echo form_open('admin/swearwords/action'); ?>
<?php 
$options = array(
                  'small'  => 'Small Shirt',
                  'med'    => 'Medium Shirt',
                  'large'   => 'Large Shirt',
                  'xlarge' => 'Extra Large Shirt',
                );

$shirts_on_sale = array('small', 'large');

echo form_multiselect('shirts', $options, 'large','size="10" style="width:250px"');?><br/><br />


<?php 
	$form_button = array(
	  'type'=>'submit',
	  'name'=>'submit',
	  'value'=>'edit',
	  'content'=>'edit',
	);
	echo form_button($form_button) ?>
	<?php 
	$form_button = array(
	  'type'=>'submit',
	  'name'=>'submit',
	  'value'=>'delete',
	  'content'=>'Delete',
	);
	echo form_button($form_button) ?>
<?php echo form_close();?>
</div><!-- page noright -->

<?php $this->load->view(TEMPLATE_NAME.'/admin/footer');?>
